<?php
foreach($results as $tours){ ?>
<div class="tour-detail">
	<h2><?php echo $tours->tour;?></h2>
	<div class="show-detail">
	<input type="button" onclick="window.location.href='<?php echo base_url().'tour/vtc_book?id='.$tours->id; ?>';" class="btn_show" name="btn_booking" value="Book now" />
		<div class="tour-detail">
			<?php if ($tours->service != null || $tours->service !="")
				echo "<p>".$tours->service."</p>";
			
			if ($tours->content!= null || $tours->content !="")
				echo "<p><b>Content :</b>".$tours->content."</p>";
			if ($tours->code!= null || $tours->code !="")
				echo "<p><b>Code :</b>".$tours->code."</p>";
			if ($tours->price != null || $tours->price != "")
				echo "<p><b>Price :</b><span class='prixe'>".$tours->price.'.00 $'."</span></p>";	
			?>
			
		</div>
		<div class="img-detail">
		<a href="<?php echo base_url()."images/".$tours->tour_image;?>" title="<?php echo $tours->service;?>.">
			<img src="<?php echo base_url()."images/".$tours->tour_image;?>" width="300" heigh="300" />
		</a>
		</div>
	</div>
</div>
<?php }?>